# coding=utf-8
# 全世界最帅的帅哥
from enum import Enum


class CategoryEnum(Enum):

    PRIMARY = (1, "岗位大类")
    SECOND = (2, "二级分类")

    @property
    def code(self):
        return self.value[0]

    @property
    def description(self):
        return self.value[1]